
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>身份认证 - 我的管理中心</title>
{include file="head"}
<link href="/static/thinkct/css/basic.css?v=1" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/jquery.m.js"></script><script language="javascript" src="/static/thinkct/js/layui/layui.js"></script><script language="javascript" src="/static/thinkct/js/common.js?v=1"></script><script language="javascript" src="/static/thinkct/js/member.js?v=1"></script><link href="/static/thinkct/css/member.css?v=1" rel="stylesheet" type="text/css" /><link href="/static/thinkct/js/layui/css/layui.css" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/plupload.js"></script><script language="javascript" src="/static/thinkct/js/upload.js"></script></head>
<body>
<!--头部-->
{include file="uhead"}

<!--头部-->
<div class="umain">
{include file="uleft"}
<div class="uright">
<div class="mwz">
<li><a href='/member/verify/email'>邮箱认证</a></li>
<li><a href='/member/verify/phone'>手机认证</a></li>
<li class='cur'><a>身份认证</a></li>
<li><a href='/member/certification/company'>企业认证</a></li>
<li class="prompt r">每个帐户最多可提交认证5张身份证</li></div>
<form class="layui-form layui-font14"  name="idcard" action="" method="post" enctype="multipart/form-data">
  <div class="layui-form-item" style='margin:0'>
	<div class="steps">
			<div class="cur"><span class="left"><em>1</em>上传身份证</span><span class="right"></span></div>
			<div class=""><span class="left"><em>2</em>联网核验</span><span class="right"></span></div>
			<div><span class="left"><em>3</em>认证成功</span></div>
	</div>
</div>


<div class="layui-form-item">
    <label class="layui-form-label">身份证正面</label>
    <div class="layui-input-block">

	<div class="layui-box layui-upload-button"><input type="file" name="file" id="picinp" class="layui-upload-file" lay-verify="required" accept="image/png,image/jpeg,image/gif" onchange="checkfile(this,'pic')"><span class="layui-upload-icon"><i class="layui-icon"></i>选择图片</span></div>
	<div class="layui-inline"><div class="layui-form-mid layui-word-aux">尺寸:宽≥243px,高≥153px；大小上限1MB；格式JPG,GIF,PNG</div></div>
	<div class="layui-inline"><div class="layui-form-mid layui-word-aux " style="color:red"></div></div>

	<br>
<div class="div_preview" pixel_data='no' size_data="1024000"  style='width:400px;height:250px;background:url("/static/thinkct/image/idcard_demo.png") no-repeat;' id="pic">
<img src=""></div>
</div>
</div>

<div class="layui-form-item" style='padding-bottom:15px;'>
    <label class="layui-form-label"></label>
    <div class="layui-input-block"><input type="submit" class="layui-btn" lay-submit="" lay-filter="upload"  value="确认提交" /></div>
</div>
 

{if $list}<table class="tablelist noodd">
<thead>
    <tr>
<td>姓名</td>
<td>身份证号</td>
<td>提交时间</td>
<td>当前状态</td>
<td>操作</td>
    </tr>
    </thead>
<tbody>
{foreach $list as $v}<tr>
<td>{$v.name}</td>
<td>{$v.card}</td>
<td>{$v.sj}</td>
{if $v.zt==1}
<td><font color='#339900'>认证成功</font></td>
<td>-</td>{/if}
{if $v.zt==0}
<td>待提交核验</td>
<td><a href='/member/certification/idcard/{$v.card}'>继续</a>  <a href='/member/certification/idcard/cancel/{$v.card}'>取消</a></td>{/if}
</tr>{/foreach}
</tbody>
</table>{/if}

  <div class='notes'>
  	<li> <h3>上传注意事项：</h3></li>
	<li>&nbsp;&nbsp;&nbsp;&nbsp;(一) 手机拍照时拍摄角度保持垂直，避免倾斜过大造成身份证图片变型；
	<br />&nbsp;&nbsp;&nbsp;&nbsp;(二) 建议上传彩色身份证图片，图片文字、号码需清晰可辨，尽量不加水印，避免影响认证；
    <li> <h3>身份认证的好处：</h3></li>
	<li>&nbsp;&nbsp;&nbsp;&nbsp;(一) 只允许提现至通过身份认证姓名开户的收款帐户，保证资金的安全；
	<li>&nbsp;&nbsp;&nbsp;&nbsp;(二) 提现至通过身份认证姓名开户的收款帐户，单笔提现额度不再受限制；
	<br />&nbsp;&nbsp;&nbsp;&nbsp;(三) 将在商品页面、店铺档案中显示  “身份认证”标识，可增加买家信任度，利于商品出售。</li>
	<li><h3>{:sysconf('site_name')}承诺不会将身份信息泄漏给任何个人或单位，以下情况除外：</h3></li>
    <li>&nbsp;&nbsp;&nbsp;&nbsp;(一) 执法部门，如法院、检察院、公安网监等部门，出具书面要求协助提供相关身份认证信息；
    <br />&nbsp;&nbsp;&nbsp;&nbsp;(二) 认证人在站内实施诈骗等违法行为，且逃避不予处理，且受害人提供证据可以明确直接证明其存在违法行为。
</div>
 	<input type="hidden" value="{:shop_bh()}" name="random" />
	<input type="hidden" value="idcard" name="action" />
	<input type="hidden" value="upload" name="flow" />
	<input type="hidden" value="{:passkey()}" name="passkey" />
</form>
</div>
 </div>
{include file="bottom"}</body>
<script type="text/javascript">
layui.use('form',function(){var form=layui.form();form.verify({companyname:function(value){if($.trim(value)==""||value.length<6)return'请输入正确的【企业名称】'},companynum:function(value){if($.trim(value)==""||value.length<=10)return'请输入正确的【营业执照编号】'},companytel:function(value){if(!judge(value,'phone')&&!judge(value,'tel'))return'请输入正确的【联系电话】'},bankid:function(value){if($("input[name='check']:checked").val()=='bankid'&&!/^[0-9]\d{14,20}$/g.test(value))return'请输入正确银行卡卡号'}});form.on('radio(check)',function(data){$('.check-box').addClass('hide');$('.check-'+data.value).removeClass('hide')});form.on('submit(upload)',function(data){progress(true);return true});form.on('submit(check)',function(data){var sub=$.trim($('.sub').html()),name=$.trim($('.name').html()),num=$.trim($('.num').html()),check=$("input[name='check']").length>0?$("input[name='check']:checked").val():0;bankid=$("input[name='bankid']").length>0?$("input[name='bankid']").val():0;var pmoney=$('#pmoney'),umoney=$('#umoney');if(parseFloat(umoney.html())<parseInt(pmoney.html())){layer.confirm('<b>您当前余额不足 <font color="red">'+parseInt(pmoney.html())+'</font> 元，<a href="/onpay/'+pmoney.html()+'" target="_blank" style="color:#247fbd">点此充值</a></b><br><font color="#666666">然后请根据操作情况点击以下选项。',{icon:3,btn:['充值完成','取消返回'],shade:[0.5,'#fff'],title:false,closeBtn:false,area:'350px'},function(){location.reload()},function(index){layer.close(index)});return false}if(sub.length<=0||name.length<=0||num.length<=0){layer.alert("您提交的信息不全，请重新提交！",{icon:2});return false}var loading=layer.msg('联网核验中，请稍等……',{icon:16,shade:[0.3,'#333'],time:0});Aform("certification","mode="+data.form.name+"&sub="+sub+"&num="+num+'&check='+check+'&bankid='+bankid+'&safe='+$('input[name=safe]').val(),function(datas){layer.close(loading);Rs(datas)},true);return false})});
</script>
</html>